﻿using System.ComponentModel.Composition;
using SS.Net.AppGen.Models;
using SS.Common.DBBuilder.DBDataStructure;

namespace SS.Net.AppGen.WebGenerators.WebControllerGenerator
{
    /// <summary>
    /// The algorithm for generating Delete method of user controller
    /// </summary>
    [Export(typeof(DeleteControllerItemByUserAlgorithm))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class DeleteControllerItemByUserAlgorithm : IDeleteControllerItemAlgorithm
    {
        /// <summary>
        /// The method to generate Delete contents of user controller
        /// </summary>
        /// <param name="item">The item which extracted from template file</param>
        /// <param name="tbl">The datasource for generating</param>
        /// <returns></returns>
        public string GenerateContents(Item item, Table tbl)
        {
            return string.Empty;
        }
    }
}
